{__NOLAYOUT__}
<div toplayer="1" class="prompt-pop pop-style4" style="z-index: {$zindex};" id="<?php echo $funcid;?>"  funcid="{$funcid}" last-url="{$__last_url}">

   <div class="title">
       <span class="pop-name">客户资料 - 申请审核</span>
       <a href="javascript:void(0);" onclick="$(this).parents('.prompt-pop').remove();_asr.closePopup('{$funcid}');" class="close iconfont">&#xe60d;</a>
   </div>





<div class="pop-scroll">
   <div class="screening ">
      <form enctype="multipart/form-data" action="<?php echo U('Customer/index?func=audit_on_save'); ?>" id="<?php echo "$funcid"; ?>-Search" method="post" verify="1">
          <input type="hidden" name="<?php echo "$funcid"; ?>-last-url" id="<?php echo "$funcid"; ?>-last-url" value="<?php echo $__last_url; ?>" />
          <input type="hidden" name="funcid" value="<?php echo "$funcid"; ?>" />
          <input type="hidden" name="pfuncid" value="<?php echo "$pfuncid"; ?>" />
          <input type="hidden" name="id" value="<?php echo $search["id"]; ?>" />
          <input type="hidden" name="_lastchanged" value="<?php echo $search["lastchanged"]; ?>" />
          <ul class="form form-mod-new form-column2">
              <li class="per100">
                  <div class="unit-left"><span class="tit"> 审核申请 </span></div>
                  <div class="unit-mid">
                      <div class="textbox">
                          <span class="pdr_20"><input type="radio" <?php if($search['apply_times'] > '0' || $search['reply_status'] == '2'):?> disabled="disabled" <?php endif;?> value="0" name="reason_tag" <?php if($search['apply_times'] == '0'):?>checked="checked"<?php endif;?>>申请审核</span>
                          <span class="pdr_20"><input type="radio" <?php if($search['apply_times'] == '0'):?> disabled="disabled" <?php endif;?> value="1" name="reason_tag" <?php if($search['apply_times'] > '0' || $search['reply_status'] == '2'):?>checked="checked"<?php endif;?>>变更申请</span>
                      </div>
                  </div>
              </li>
            <li class="per100">
                <div class="unit-left">申请内容</div>
                <div class="unit-mid">
                    <textarea class="textarea0" name="apply_content" style="height: 120px;" >{$search['apply_content']}</textarea>
                    <div class="prompt" style="display:none">
                        <div class="error"><i class="iconfont">&#xe616;</i></div>
                    </div>
                </div>
            </li>
          </ul>
       </form>
    </div>
 </div>
    <div class="pop-sub abe-txtc" >

               <input type="button" value="提交" class="btn btn-blue mrg_10 " onclick="return _asr.submit('<?php echo "$funcid"; ?>', '<?php echo "$funcid"; ?>-Search', '<?php echo U("/Home/Customer/index?func=audit_on_save&id=$search[id]") ; ?>',''); " />

               <input type="button" value="取消" class="btn btn-org mrg_10 " onclick="$(this).parents('.prompt-pop').remove();_asr.closePopup('{$funcid}');" />
    </div>




</div>

<script>
        function <?php echo $funcid; ?>_chooseDate(o) {
            if($('.date').length>0)
                pickmeup('.date').destroy();
            $('.date').removeClass('date')
            $(o).addClass('date');
            pickmeup('.date', {
                format  : 'Y-m-d',
                date : $(o).val(),
                hide_on_select : true,
                locale : 'zh'
            }).show();
        }

        $('.calendar0,.calendar1').on('click',function(){
            <?php echo $funcid; ?>_chooseDate(this)
        });


        /***************************************************************************************/
        /* 前台页面初始化                                                                      */
        /***************************************************************************************/
        function <?php echo $funcid; ?>_init(_id){
            return ;
        }

        /***************************************************************************************/
        /* 前台页面清除                                                                      */
        /***************************************************************************************/
        function <?php echo $funcid; ?>_clearsearch(_frm){


          $("#{$funcid} .city-tags-new .sele-remove").click();
        }

   function <?php echo $funcid;?>_callback(param){
        _asr.closePopup('{$funcid}');
   }



    {:W('Summary/javascript',array('Customer'))}

</script>

